import store from '../index'

export function setLoading (bool) {
  store.dispatch({
    type: 'loading',
    data: bool
  })
}